package com.lmabbe.core.service.impls;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lmabbe.core.common.entitys.SysParams;
import com.lmabbe.core.common.interfaces.SysParamsService;
import com.lmabbe.core.common.query.SysParamsQuery;
import com.lmabbe.core.service.dao.SysParamsMapper;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * @author lmabbe
 */
@DubboService(provider = "simple-dubbo")
public class SysParamsServiceImpl extends ServiceImpl<SysParamsMapper, SysParams> implements SysParamsService {

    @Override
    public IPage selectPage(SysParamsQuery query) {
        return baseMapper.selectPage(query.createPage(), query.createQuery());
    }
}
